package com.pxmeta.party.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxmeta.party.entity.ActivityAdAstraRecord;
import com.pxmeta.party.entity.ActivityAdAstraUserRecord;
import com.pxmeta.party.entity.LotteryLuckyUser;
import com.pxmeta.party.entity.dto.ActivityAdAstraDTO;

import java.util.List;

public interface IActivityAdAstraUserRecordService extends IService<ActivityAdAstraUserRecord> {
    void saveRecord(Long userId, Long recordId, Long successId, List<ActivityAdAstraDTO> dtos);

    List<ActivityAdAstraUserRecord> getByRecordId(Long recordId, Long userId);


    List<ActivityAdAstraUserRecord> getByRecordIds(List<Long> recordIds, Long userId);

    List<ActivityAdAstraUserRecord> getByRecordId(Long recordId);

    IPage<LotteryLuckyUser> getUserLotteryRecordPage(Integer page, Integer size, String keyword);
}
